<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>Viva Gastronomia</title>
	<!--style-->	
	<link rel="stylesheet" href="<?php bloginfo('template_directory')?>/style.css?14" type="text/css" media="screen" />
	<link rel="stylesheet" href="<?php bloginfo('template_directory')?>/css/colorbox.css?14" type="text/css" media="screen" />
	<!--style-->
	<!--script-->
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="<?php bloginfo('template_directory')?>/js/functions.js?40"></script>	
	<script type="text/javascript" src="<?php bloginfo('template_directory')?>/js/jquery.colorbox.js?40"></script>
	<!--script-->
</head>
<body class="galeria">
	<div class="wrapper-menu">
		<div class="wrapper-redes-sociais">
			<div class="redes-sociais">acompanhe</div>
			<div class="midias-sociais">
				<ul>
					<li class="facebook"><a href="#">Facebook</a></li>
					<li class="instagram"><a href="#">Instagram</a></li>
					<li class="vimeo"><a href="#">Vimeo</a></li>
				</ul>
			</div>
		</div>
		<div class="wrapper-nav-menu">
			<ul class="nav-menu">
				<li><a>Quem Somos</a></li>
				<li><a class="curent" href="/galeria">Galeria</a></li>
				<li><a href="/cardapios">Cardápios</a></li>
				<li><a href="/na-midia">Na Mídia</a></li>
				<li><a href="/contato">Contato</a></li>
			</ul>
		</div>
		<div class="viva-gastronomia"><h1><a href="<?php echo home_url() ?>">Viva Gastronomia</a></h1></div>
	</div>
	<div class="quem-somos">
		<p class="texto"><script type="text/javascript">document.write(quemsomos)</script></p>
	</div>
	<div class="galeria-fotos">
		<h1>Galeria</h1>
				<ul>
					<?php  $count = 0; ?>
					<?php  query_posts('post_type='); ?>
					<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
					<?php ++$count;
							$classe = 'terceiro-margin';
							if($count>3){
								$count = 1;
							}
					?>
					<li class="<?php if($count==3){ echo $classe;} ?>">
						<?php $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'cheio');
						echo '<a class="group1" title="" href="' . $large_image_url[0] . '" title="' . the_title_attribute('echo=0') . '" >';
						the_post_thumbnail('thumbnail');
						echo '</a>';
						?>
						<div class="lupa">
							<img src="<?php bloginfo('template_directory')?>/img/lupa.png?6" alt=""/>
						</div>
					</li>
					<?php endwhile; else: ?>
					<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
					<?php endif; ?>
					<span class="clear"></span>
				</ul>
				<span class="clear"></span>
	</div>
	<span class="clear"></span>
</body>
</html>